package com.yijiupi.plugin.test.language;

import com.intellij.openapi.fileTypes.LanguageFileType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import javax.swing.*;

public class STGFileType extends LanguageFileType {
	public static final STGFileType INSTANCE =new STGFileType();


	private STGFileType() {
		super(ImpalaSTGLanguage.INSTANCE);
	}

	@Override
	@NotNull
	public String getName() {
		return "stg";
	}

	@Override
	@NotNull
	public String getDescription() {
		return "stg文件";
	}

	@Override
	@NotNull
	public String getDefaultExtension() {
		return "stg";
	}

	@Override
	@Nullable
	public Icon getIcon() {
		return STGIcon.FILE;
	}
}
